#include <stdio.h>
#include <stdlib.h>
#include <cmath>

void main()
{
float a,b,c;
int check;
	check = scanf("%f %f %f", &a, &b, &c);
	if ( check != 3 )
        {
                printf("Incorrect choice. Goodbye!\n");
				system("PAUSE");
                return;
        }
	if ( a==0 && b==0 && c==0)
	{
		printf("X=luboi\n");
		system("PAUSE");
		return;
	}
	if ( a==0 && b==0 )
	{
		printf("X ne sushestvuiet\n");
		system("PAUSE");
		return;
	}
	if ( a==0 )
	{
		float x;
		x=-c/b;
		printf("X ravno %.8f\n", x);
		system("PAUSE");
		return;
	}
    if ( a!=0 )
	{ 
		float D, X1, X2;
		b=b/a;
		c=c/a;

		D=b*b - 4*c;
		if (D<0)
		{
			printf("Dicreminant<0\n");
		}
		if (D>=0)
		{
			D=sqrt ( D );
			if (b=D) 
			{
			X2=(-b - D)/(2);
			X1=(c)/(X2);
			}
			else
			{
				X2=(-b + D)/(2);
				X1=(c)/(X2);
			}
			if (X1==X2) 
			{ 
				printf("X ravno %.8f\n", X1);
			}
			if (X1!=X2) 
			{ 
				printf("X1 ravno %.8g\n", X1);
				printf("X2 ravno %.8g\n", X2);
			}
		}
	}
	system("PAUSE");
	return;
}



	